Fluent Assertions Documentation
FluentAssertions.Collections Namespace / StringCollectionAssertions<TCollection,TAssertions> Class / BeEquivalentTo Method / BeEquivalentTo(String[]) Method
In This Topic
    BeEquivalentTo(String[]) Method
    In This Topic
    Asserts that a collection of string is equivalent to another collection of strings.
    Syntax
    public AndConstraint<TAssertions> BeEquivalentTo( 
       params string[] expectation
    )

    Parameters

    expectation
    Remarks
    The two collections are equivalent when they both contain the same strings in any order. To assert that the elements are in the same order, use Equal(String[]) instead.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also